{"ast":null,"code":"import { TinyColor } from '@ctrl/tinycolor';\nexport var getAlphaColor = function getAlphaColor(baseColor, alpha) {\n  return new TinyColor(baseColor).setAlpha(alpha).toRgbString();\n};\nexport var getSolidColor = function getSolidColor(baseColor, brightness) {\n  var instance = new TinyColor(baseColor);\n  return instance.darken(brightness).toHexString();\n};","map":{"version":3,"names":["TinyColor","getAlphaColor","baseColor","alpha","setAlpha","toRgbString","getSolidColor","brightness","instance","darken","toHexString"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/theme/themes/default/colorAlgorithm.js"],"sourcesContent":["import { TinyColor } from '@ctrl/tinycolor';\nexport const getAlphaColor = (baseColor, alpha) => new TinyColor(baseColor).setAlpha(alpha).toRgbString();\nexport const getSolidColor = (baseColor, brightness) => {\n  const instance = new TinyColor(baseColor);\n  return instance.darken(brightness).toHexString();\n};"],"mappings":"AAAA,SAASA,SAAS,QAAQ,iBAAiB;AAC3C,OAAO,IAAMC,aAAa,GAAG,SAAhBA,aAAa,CAAIC,SAAS,EAAEC,KAAK;EAAA,OAAK,IAAIH,SAAS,CAACE,SAAS,CAAC,CAACE,QAAQ,CAACD,KAAK,CAAC,CAACE,WAAW,EAAE;AAAA;AACzG,OAAO,IAAMC,aAAa,GAAG,SAAhBA,aAAa,CAAIJ,SAAS,EAAEK,UAAU,EAAK;EACtD,IAAMC,QAAQ,GAAG,IAAIR,SAAS,CAACE,SAAS,CAAC;EACzC,OAAOM,QAAQ,CAACC,MAAM,CAACF,UAAU,CAAC,CAACG,WAAW,EAAE;AAClD,CAAC"},"metadata":{},"sourceType":"module"}